<?php
$xml = simplexml_load_file("data.xml");
foreach ($xml->contact as $contact) {
   echo "\n* ". $contact->prenom." ".$contact->nom;
   echo "\n\t". $contact->adresse."\n\t".$contact->codePostale." ".$contact->ville;
}
echo "\n";
?>
